package com.astar.enums;

/**
 * 状态
 * 
 * @author liury
 */
public enum CommonStatus
{
    OK("Y", "正常"), DISABLE("D", "停用"), DELETED("N", "删除"), ON("on", "正常"), OFF("N", "删除");

    private final String code;
    private final String info;

    CommonStatus(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
